<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/11/30
  Time: 18:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="func" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
    <title>function</title>
</head>
<body>
    <%
        request.setAttribute("info","Java,C");
    %>
    ${func:contains(info, "Python")}<br/>
    ${func:startsWith(info, "Java")}<br/>
    ${func:endsWith(info, "C")}<br/>
    ${func:indexOf(info, "va")}<br/>
    ${func:replace(info,"C","hahaha~")}<br/>
    ${func:substring(info,2,3)}<br/>
    ${func:split(info,",")[0]}-${func:split(info,",")[1]}<br/>
</body>
</html>
